package com.douguo.recipe.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public final class Documents {
	public static final String AUTHORITY = "com.douguo.recipe.provider";
	public static final class Caixi implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/caixi");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.caixi";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.caixi";
		//public static final String DEFAULT_SORT_ORDER = "modified DESC";
		public static final String NAME = "caixi_name";
		public static final String IMAGE = "caixi_img";
		public static final String ORDER = "caixi_order";
		public static final String DEFAULT_SORT_ORDER = ORDER + " ASC";
	}
	public static final class Kouwei implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/kouwei");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.kouwei";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.kouwei";
		//public static final String DEFAULT_SORT_ORDER = "modified DESC";
		public static final String NAME = "kouwei_name";
		//public static final String ID = "kouwei_id";
		public static final String IMAGE = "kouwei_img";
		public static final String ORDER = "kouwei_order";
		public static final String DEFAULT_SORT_ORDER = ORDER + " ASC";
	}
	public static final class Caipin implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/caipin");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.caipin";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.caipin";
		//public static final String DEFAULT_SORT_ORDER = "modified DESC";
		public static final String NAME = "caipin_name";
		//public static final String ID = "caipin_id";
		public static final String IMAGE = "caipin_img";
		public static final String ORDER = "caipin_order";
		public static final String DEFAULT_SORT_ORDER = ORDER + " ASC";
	}
	public static final class Tese implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/tese");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.tese";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.tese";
		//public static final String DEFAULT_SORT_ORDER = "modified DESC";
		public static final String NAME = "tese_name";
		//public static final String ID = "tese_id";
		public static final String IMAGE = "tese_img";
		public static final String ORDER = "tese_order";
		public static final String DEFAULT_SORT_ORDER = ORDER + " ASC";
	}
	public static final class Nandu implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/nandu");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.nandu";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.nandu";
		//public static final String DEFAULT_SORT_ORDER = "modified DESC";
		public static final String NAME = "nandu_name";
		//public static final String ID = "nandu_id";
		public static final String IMAGE = "nandu_img";
		public static final String ORDER = "nandu_order";
		public static final String DEFAULT_SORT_ORDER = ORDER + " ASC";
	}
	public static final class Recipes implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/caipu");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.caipu";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.caipu";
		//public static final String DEFAULT_SORT_ORDER = "modified DESC";
		public static final String RANDOM_SORT_ORDER = "RANDOM()";
		public static final String NAME = "caipu_name";
		//public static final String ID = "caipu_id";
		public static final String THUMB = "caipu_thumb";
		public static final String PIC = "caipu_pic";
		public static final String MAIN = "caipu_zhuliao";
		public static final String MINOR = "caipu_peiliao";
		public static final String DATE = "caipu_date";
		public static final String TIPS = "caipu_tips";
		public static final String AUTHOR_NAME = "author_name";
		public static final String AUTHOR_ID = "author_id";
		public static final String CAIXI_ID = "caixi_id";
		public static final String KOUWEI_ID = "kouwei_id";
		public static final String CAIPIN_ID = "caipin_id";
		public static final String TESE_ID = "tese_id";
		public static final String NANDU_ID = "nandu_id";
		public static final String TIME = "time";
	}
	public static final class Steps implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/buzou");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.buzou";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.buzou";
		public static final String SORT_NUMBER_ORDER = "buzou_number ASC";
		//public static final String NAME = "buzou_name";
		//public static final String ID = "buzou_id";
		public static final String RECIPE_ID = "caipu_id";
		public static final String DESCRIPT = "buzou_des";
		public static final String PIC = "buzou_pic";
		public static final String NUMBER = "buzou_number";
	}
	public static final class Favor implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/shoucang");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.shoucang";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.shoucang";
		public static final String DEFAULT_SORT_ORDER = "date DESC";
		//public static final String ID = "shoucang_id";
		public static final String RECIPE_ID = "caipu_id";
		public static final String DATE = "date";
	}
	public static final class Calendar implements BaseColumns{
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/caili");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.douguo.caili";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.douguo.caili";
		public static final String DEFAULT_SORT_ORDER = "date DESC";
		//public static final String ID = "rili_id";
		public static final String RECIPE_ID = "caipu_id";
		public static final String YEARMONTH ="year_month";
		public static final String DATE = "date";
	}
	
}
